function y = raydan1(x)
%Raydan 1 Function (Strictly Convex2 function)
%x0=[1,...1.....1]
%fmin=n/2
%Author:shi yangyang{THE BARZILAI AND BORWEIN GRADIENT METHOD FOR THELARGE
%SCALE UNCONSTRAINED MINIMIZATION PROBLEM:MARCOS RAYDANy]
%n=50;
n=length(x);
y=ones(1,n);
for i=1:1:n
    y(i)=(i/10)*(exp(x(i))-x(i));
end
y=sum(y);